package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.TrainChargeEntry;
import org.springframework.stereotype.Component;

@Component
public interface TrainChargeEntryMapper {
    int deleteByPrimaryKey(String fid);

    int insert(TrainChargeEntry record);

    int insertSelective(TrainChargeEntry record);

    TrainChargeEntry selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(TrainChargeEntry record);

    int updateByPrimaryKey(TrainChargeEntry record);

    int deleteByFparentid(String fparentId);

    List<TrainChargeEntry> selectTrainChargeEntrysByFparentId(String fparentId);

    List<TrainChargeEntry> selectTrainChargeByInfo(Map<String, String> map);

    List<TrainChargeEntry> selTrainByFnumber(Map map);
}